import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
// 引用
import router from '@/router/index.js'

import piniaPluginPersist from 'pinia-plugin-persist'

import { createPinia } from 'pinia'

// 创建Pinia实例
const Pinia = createPinia()
Pinia.use(piniaPluginPersist)

const app = createApp(App)

app.use(router)
app.use(Pinia)
app.mount('#app')
